package com.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order implements Serializable {
    private Integer order_id;
    private Double total;
    private String status;
    private String name;
    private String mobile;
    private String province;
    private String city;
    private String district;
    private String town;
    private String address;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date create_date;
    private Integer user_id;
}
